<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>用户资料</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="${resRoot}/layui/css/layui.css" media="all" />
  <link rel="stylesheet" href="${resRoot}/layui/admin/admin.css" media="all" />
</head>
<body>
          <div class="layui-fluid">   
          <div class="layui-card">
	<div class="layui-form layui-card-header layuiadmin-card-header-auto">
<form class="layui-form" action="">
  <div class="layui-form-item">
    <label class="layui-form-label">用户名</label>
    <div class="layui-input-inline">
      <input type="text" id="loginName" value="${userDTO.loginName}" lay-verify="title" autocomplete="off" placeholder="请输入用户名" class="layui-input">
    </div>
  </div>
  
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">昵称</label>
      <div class="layui-input-inline">
        <input type="text" id="name" value="${userDTO.name}" lay-verify="required" autocomplete="off" class="layui-input">
      </div>
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">手机</label>
      <div class="layui-input-inline">
        <input type="tel" id="phone" value="${userDTO.phone}" lay-verify="phone" autocomplete="off" class="layui-input">
      </div>
    </div>
  </div> 
  
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">邮箱</label>
      <div class="layui-input-inline">
        <input type="text" id="email" value="${userDTO.email}" lay-verify="email" autocomplete="off" class="layui-input">
      </div>
    </div>
  </div>
  
  <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">角色</label>
      <div class="layui-input-inline">
        <input type="text" value="${roleDTO.roleName}"  autocomplete="off" class="layui-input">
      </div>
    </div>
  </div>  
 

    <div class="layui-form-item">
    <div class="layui-inline">
      <label class="layui-form-label">头像</label>
      <div class="layui-input-inline">
      <div class="site-demo-upload">
  <img id="LAY_demo_upload" src="${userDTO.headPic}">
  <div class="site-demo-upbar">
    <input type="file" name="fileField" class="layui-upload-file" id="test">
  </div>
</div> 
      </div>
    </div>
  </div>


  <div class="layui-form-item">
    <div class="layui-input-block">
     <!--  <button type="button" class="layui-btn layui-btn-primary" onclick="history.go(-1);" >返回</button> -->
    </div>
  </div>
</form>
</div>
    </div>
  </div> 
<script src="${resRoot}/layui/layui.js" charset="utf-8"></script>
</body>
</html>